翻訳と辞書
Words near each other
・ lemma
・ lempel-ziv compression
・ lempel-ziv welch compression
・ lenat, doug
・ lenient evaluation
・ leo
・ ler
・ lerp
・ less than
・ lesstif
let floating
・ letterbomb
・ level 1 cache
・ level 2 cache
・ level one cache
・ level two cache
・ level-sensitive scan design
・ level5 object
・ lex
・ lexeme


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

let floating : FOLDOC
let floating
A program transformation used in functional programming to implement full laziness. E.g. the function
f x = x + sqrt 4

can be expressed as
f x = let t = sqrt 4 in x + t

but note that t does not depend on the argument x so we can automatically transform this to
t = sqrt 4
f x = x + t

Making t into a global constant which need only be evaluated at most once, rather than every time f is called. The general idea is to float each subexpression as far out (toward the top level) as possible to maximise sharing.
(1997-07-09)



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.